473,480 Members | 1,711 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

CrystalReportViewer - changing DBF file after the fact

A Crystal Reports report uses the old Clipper type of DBF format files
as input. In the C#.NET application the viewer is set up as follows:

CrystalDecisions.Windows.Forms.CrystalReportViewer type class

this.crystalReportViewer1.ReportSource = "C:\\path\\ReportName.rpt"

Everything works fine.

The next step is to change the location or name of the DBF format files
that the report uses as input at runtime.

The MSDN documentation suggests this should be done using LogOnInfo and
ConnectionInfo classes accessible within the CrystalReportViewer. When
I read and print the members of these objects in a report that displays
fine, they are empty. When I set these objects to override the report
settings, nothing happens.

What am I doing wrong? What should I be doing instead?

Jul 22 '05 #1
0 1178

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2129
by: Jordan | last post by:
Hi, I've declared the statement below in my form and somehow crystalReportViewer1 is always null. Is there anything wrong with the statement? private...
0
1317
by: Shannon Cayze | last post by:
Hello all, I'm having trouble using a CrystalReportViewer when I set the ReportSource property to a file on another server. When I do this, I get a "Load report failed" exception. I've learned...
3
16576
by: Reza Nabi | last post by:
Hello I created a very simple page just to load a crystal report which was working just great Code started throwing the following exception, after I installed crystal report 9 advanced edition ...
4
6063
by: Stan Sainte-Rose | last post by:
Hi, How to capture the CrystalReportViewer Events. I need to do some actions when the user clicks on the close and print icons. By the way, I thank you for your contributions... Stan
1
7390
by: Bob | last post by:
I'm asking here because I've posted this question in the crystal newsgroup, waited two weeks, and got zero response. I would be very appreciative if someone could shed some light on this problem...
0
252
by: caincognito | last post by:
A Crystal Reports report uses the old Clipper type of DBF format files as input. In the C#.NET application the viewer is set up as follows: CrystalDecisions.Windows.Forms.CrystalReportViewer...
1
2356
by: Gerhard | last post by:
I am using a CrystalReportViewer to view a CrystalReport. The report calls a stored procedure with one parameter. I am using .net version 2. Two questions. How do I set the parameter...
3
4874
by: roopsd | last post by:
I am using VS.NET 2003 with crystal reports XI release 2. I get a runtime error at the following line: oRptForm.crystalReportViewer.ReportSource = oReport An unhandled exception of type...
0
1317
by: roopsd | last post by:
Hi Thank you for yuour help. I am using VS.NET 2003 with Crystal XI r2. I am getting NullReferenceException at the following line in my code. oRptForm.crystalReportViewer.ReportSource =...
0
7044
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6908
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7087
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
6944
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5341
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
2995
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2985
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
182
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.